[INFO] cloning repository https://github.com/nganhkhoa/pdb_for_nonpagedpool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nganhkhoa/pdb_for_nonpagedpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae679b62be0b580fb975c1945fa4c79771010843
[INFO] building nganhkhoa/pdb_for_nonpagedpool against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-12/source/.cargo/config
[INFO] started tweaking git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool
[INFO] finished tweaking git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool
[INFO] tweaked toml for git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c829e67864744099a094ad333c40d1129d8a3d655564545577eb3f70ae7431da
[INFO] running `Command { std: "docker" "start" "-a" "c829e67864744099a094ad333c40d1129d8a3d655564545577eb3f70ae7431da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c829e67864744099a094ad333c40d1129d8a3d655564545577eb3f70ae7431da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c829e67864744099a094ad333c40d1129d8a3d655564545577eb3f70ae7431da", kill_on_drop: false }`
[INFO] [stdout] c829e67864744099a094ad333c40d1129d8a3d655564545577eb3f70ae7431da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e676c63060d6fe7f83fda2593088670a052c77c0dabd388eb13b515059d5058
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6e676c63060d6fe7f83fda2593088670a052c77c0dabd388eb13b515059d5058", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling memchr v2.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling dtoa v0.4.5
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling fallible-iterator v0.1.6
[INFO] [stderr]    Compiling utf8parse v0.2.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling encode_unicode v0.3.6
[INFO] [stderr]    Compiling widestring v0.4.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling app_dirs v1.2.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rust-embed-utils v5.0.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling scroll v0.9.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling parse_int v0.4.0
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys-next v0.1.0
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling dirs-next v1.0.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling tokio v0.2.11
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.55
[INFO] [stderr]    Compiling scroll_derive v0.9.5
[INFO] [stderr]    Compiling vergen v3.1.0
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling lpus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling prettytable-rs v0.8.0
[INFO] [stderr]    Compiling pdb v0.5.0
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling rustyline v6.2.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling rust-embed-impl v5.6.0
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling rust-embed v5.6.0
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling hyper v0.13.2
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling reqwest v0.10.1
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/driver_state.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/driver_state.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::ntdef::NTSTATUS;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/driver_state.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winioctl::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/windows.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, HKEY, HMODULE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/windows.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::ntdef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winnt::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::fileapi::{CreateFileA, CREATE_ALWAYS};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::um::ioapiset::DeviceIoControl;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::securitybaseapi::AdjustTokenPrivileges;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::sysinfoapi::GetTickCount64;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winbase::LookupPrivilegeValueA;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::um::winreg::{RegCloseKey, RegCreateKeyExA, RegSetValueExA, HKEY_LOCAL_MACHINE};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LUID`
[INFO] [stdout]    --> src/windows.rs:178:28
[INFO] [stdout]     |
[INFO] [stdout] 178 |             let mut luid = LUID::default();
[INFO] [stdout]     |                            ^^^^ use of undeclared type `LUID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING`
[INFO] [stdout]    --> src/windows.rs:262:42
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let mut str_driver_reg_unicode = UNICODE_STRING::default();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING`
[INFO] [stdout]    --> src/windows.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let mut str_driver_reg_unicode = UNICODE_STRING::default();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/driver_state.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SIOCTL_TYPE: DWORD = 40000;
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/driver_state.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_code(&self) -> DWORD {
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:51:46
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:51:64
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:54:46
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:54:65
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_NEITHER` in this scope
[INFO] [stdout]   --> src/driver_state.rs:57:46
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:57:62
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:60:64
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:63:46
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:63:64
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:66:46
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:66:65
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope
[INFO] [stdout]   --> src/driver_state.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope
[INFO] [stdout]   --> src/driver_state.rs:69:46
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope
[INFO] [stdout]   --> src/driver_state.rs:69:64
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/driver_state.rs:105:34
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn startup(&mut self) -> NTSTATUS {
[INFO] [stdout]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/driver_state.rs:118:31
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn shutdown(&self) -> NTSTATUS {
[INFO] [stdout]     |                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/driver_state.rs:302:36
[INFO] [stdout]     |
[INFO] [stdout] 302 |             size_of_val(&input) as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/driver_state.rs:304:35
[INFO] [stdout]     |
[INFO] [stdout] 304 |             output_len_as_byte as DWORD,
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope
[INFO] [stdout]   --> src/windows.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub version_info: OSVERSIONINFOW,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/windows.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |     driver_handle: HANDLE,
[INFO] [stdout]    |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/windows.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     ntdll: HMODULE,
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]   --> src/windows.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 |     nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]   --> src/windows.rs:73:60
[INFO] [stdout]    |
[INFO] [stdout] 73 |     nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS,
[INFO] [stdout]    |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]   --> src/windows.rs:74:42
[INFO] [stdout]    |
[INFO] [stdout] 74 |     nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]   --> src/windows.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 |     nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS,
[INFO] [stdout]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]   --> src/windows.rs:75:46
[INFO] [stdout]    |
[INFO] [stdout] 75 |     rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR),
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]   --> src/windows.rs:75:63
[INFO] [stdout]    |
[INFO] [stdout] 75 |     rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR),
[INFO] [stdout]    |                                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope
[INFO] [stdout]   --> src/windows.rs:76:41
[INFO] [stdout]    |
[INFO] [stdout] 76 |     rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]   --> src/windows.rs:76:65
[INFO] [stdout]    |
[INFO] [stdout] 76 |     rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS,
[INFO] [stdout]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OSVERSIONINFOW` in this scope
[INFO] [stdout]    --> src/windows.rs:104:32
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let mut version_info = OSVERSIONINFOW {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]    --> src/windows.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let ntdll: HMODULE;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]    --> src/windows.rs:114:48
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS;
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/windows.rs:114:68
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS;
[INFO] [stdout]     |                                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]    --> src/windows.rs:115:50
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/windows.rs:115:70
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS;
[INFO] [stdout]     |                                                                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope
[INFO] [stdout]    --> src/windows.rs:116:54
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope
[INFO] [stdout]    --> src/windows.rs:116:71
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR);
[INFO] [stdout]     |                                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope
[INFO] [stdout]    --> src/windows.rs:117:49
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS;
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/windows.rs:117:73
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS;
[INFO] [stdout]     |                                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stdout]    --> src/windows.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |             ntdll = LoadLibraryA(str_ntdll.as_ptr());
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/windows.rs:122:35
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let nt_load_driver_ = GetProcAddress(ntdll, str_nt_load_driver.as_ptr());
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/windows.rs:123:37
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let nt_unload_driver_ = GetProcAddress(ntdll, str_nt_unload_driver.as_ptr());
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/windows.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let rtl_init_unicode_str_ = GetProcAddress(ntdll, str_rtl_init_unicode_str.as_ptr());
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/windows.rs:125:36
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let rtl_get_version_ = GetProcAddress(ntdll, str_rtl_get_version.as_ptr());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope
[INFO] [stdout]    --> src/windows.rs:133:35
[INFO] [stdout]     |
[INFO] [stdout] 133 |             let mut registry_key: HKEY = null_mut();
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExA` in this scope
[INFO] [stdout]    --> src/windows.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             RegCreateKeyExA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope
[INFO] [stdout]    --> src/windows.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 HKEY_LOCAL_MACHINE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope
[INFO] [stdout]    --> src/windows.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 REG_OPTION_NON_VOLATILE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope
[INFO] [stdout]    --> src/windows.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 KEY_WRITE,
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:149:37
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 (str_type.as_ptr(), REG_DWORD, type_value.as_ptr(), 4),
[INFO] [stdout]     |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |                     REG_DWORD,
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:156:38
[INFO] [stdout]     |
[INFO] [stdout] 156 |                 (str_start.as_ptr(), REG_DWORD, start_value.as_ptr(), 4),
[INFO] [stdout]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope
[INFO] [stdout]    --> src/windows.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     REG_SZ,
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope
[INFO] [stdout]    --> src/windows.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 RegSetValueExA(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope
[INFO] [stdout]    --> src/windows.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             RegCloseKey(registry_key);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/windows.rs:177:35
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mut token_handle: HANDLE = null_mut();
[INFO] [stdout]     |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]    --> src/windows.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             OpenProcessToken(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/windows.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 GetCurrentProcess(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/windows.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 TOKEN_ADJUST_PRIVILEGES,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope
[INFO] [stdout]    --> src/windows.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             LookupPrivilegeValueA(null_mut(), str_se_load_driver_privilege.as_ptr(), &mut luid);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/windows.rs:185:39
[INFO] [stdout]     |
[INFO] [stdout] 185 |             let mut new_token_state = TOKEN_PRIVILEGES {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope
[INFO] [stdout]    --> src/windows.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout] 187 |                 Privileges: [LUID_AND_ATTRIBUTES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope
[INFO] [stdout]    --> src/windows.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     Attributes: SE_PRIVILEGE_ENABLED,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope
[INFO] [stdout]    --> src/windows.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |             AdjustTokenPrivileges(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/windows.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             CloseHandle(token_handle);
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]    --> src/windows.rs:224:28
[INFO] [stdout]     |
[INFO] [stdout] 224 |             driver_handle: INVALID_HANDLE_VALUE,
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]    --> src/windows.rs:234:31
[INFO] [stdout]     |
[INFO] [stdout] 234 |         self.driver_handle != INVALID_HANDLE_VALUE
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/windows.rs:239:33
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let driver_file_handle: HANDLE = unsafe {
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope
[INFO] [stdout]    --> src/windows.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |             CreateFileA(
[INFO] [stdout]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]    --> src/windows.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]    --> src/windows.rs:242:32
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope
[INFO] [stdout]    --> src/windows.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 CREATE_ALWAYS,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope
[INFO] [stdout]    --> src/windows.rs:246:17
[INFO] [stdout]     |
[INFO] [stdout] 246 |                 FILE_ATTRIBUTE_NORMAL,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]    --> src/windows.rs:251:34
[INFO] [stdout]     |
[INFO] [stdout] 251 |         if driver_file_handle == INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/windows.rs:258:38
[INFO] [stdout]     |
[INFO] [stdout] 258 |     pub fn load_driver(&mut self) -> NTSTATUS {
[INFO] [stdout]     |                                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]    --> src/windows.rs:273:36
[INFO] [stdout]     |
[INFO] [stdout] 273 |     pub fn unload_driver(&self) -> NTSTATUS {
[INFO] [stdout]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:281:39
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn get_build_number(&self) -> DWORD {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope
[INFO] [stdout]    --> src/windows.rs:311:42
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let system_up_time_ms = unsafe { GetTickCount64() };
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:329:41
[INFO] [stdout]     |
[INFO] [stdout] 329 |     pub fn device_io<T, E>(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:329:82
[INFO] [stdout]     |
[INFO] [stdout] 329 |     pub fn device_io<T, E>(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD {
[INFO] [stdout]     |                                                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:333:35
[INFO] [stdout]     |
[INFO] [stdout] 333 |             size_of_val(inbuf) as DWORD,
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:335:36
[INFO] [stdout]     |
[INFO] [stdout] 335 |             size_of_val(outbuf) as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:341:15
[INFO] [stdout]     |
[INFO] [stdout] 341 |         code: DWORD,
[INFO] [stdout]     |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:343:20
[INFO] [stdout]     |
[INFO] [stdout] 343 |         input_len: DWORD,
[INFO] [stdout]     |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:345:21
[INFO] [stdout]     |
[INFO] [stdout] 345 |         output_len: DWORD,
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:346:10
[INFO] [stdout]     |
[INFO] [stdout] 346 |     ) -> DWORD {
[INFO] [stdout]     |          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/windows.rs:348:33
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let mut bytes_returned: DWORD = 0;
[INFO] [stdout]     |                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope
[INFO] [stdout]    --> src/windows.rs:350:26
[INFO] [stdout]     |
[INFO] [stdout] 350 |             let status = DeviceIoControl(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/windows.rs:361:61
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 println!("device io failed: last error {}", GetLastError());
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/commands.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 117 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lpus`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "6e676c63060d6fe7f83fda2593088670a052c77c0dabd388eb13b515059d5058", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e676c63060d6fe7f83fda2593088670a052c77c0dabd388eb13b515059d5058", kill_on_drop: false }`
[INFO] [stdout] 6e676c63060d6fe7f83fda2593088670a052c77c0dabd388eb13b515059d5058
